<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			li{
				font:30px/50px "微软雅黑";
				background: green;
				margin:10px;
			}
			.div1{
				width: 200px;
				height: 200px;
				background: red;
			}
		</style>
		<script src="vue.js"></script>
		<script type="text/javascript">
			window.onload=function(){
				new Vue({
				el: '#box',
				data:{
					a:true,
				}
			})
			}
		</script>
	</head>
	<body>
		<div id="box">
			<input type="button" value="按钮1click" v-on:click='a=false' />
			<hr />
			<div class="div1" v-show='a'></div>
		</div>
	</body>
</html>
